home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / PostScript Extension Shell ƒ / PS Extension.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.5 KB  |  54 lines  |  [TEXT/MPS ]

  1. #    File:        PS Extension.make
  2. #   Target:     PS Extension
  3. #   Sources:    PS Extension.a PS Extension.c PS Extension.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for a printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    (Based on the "Extension Shell" sample.)
  12. #
  13. #    12/01/92 - dmh - Created.
  14. #     4/26/93 - dmh - Updated to use recommended approach to
  15. #                     global data initialization.
  16. #     9/05/93 - dmh - Updated for b2.
  17. #     9/08/93 - dmh - Modified to override
  18. #                      GXPostScriptDoPageSetup.
  19. #                   - Added a "PS " before the file names.
  20. #                   - Changed creator type.
  21. #    12/18/93 - dmh - Updated for b3.
  22. #    8/24/94 - dmh - Finalized.
  23.  
  24. #    Alias to the path for the GX library and interface files.
  25.  
  26. INTPATH = {CIncludes}
  27.  
  28. #    Creator type we'll use:
  29.  
  30. kCreator = 'GPxt'
  31.  
  32.  
  33. OBJECTS = "PS Extension.a.o" "PS Extension.c.o"
  34. AsmOptions        = -sym off -i "{INTPATH}" -case obj
  35. CompileOptions    = -opt full -d applec -b2 -r -i "{INTPATH}"
  36.  
  37. "PS Extension.a.o" ƒ "PS Extension.make" "PS Extension.a"
  38.      Asm {AsmOptions} "PS Extension.a"
  39. "PS Extension.c.o" ƒ "PS Extension.make" "PS Extension.c"
  40.      C {CompileOptions} "PS Extension.c"
  41.  
  42. "PS Extension" ƒƒ "PS Extension.make" "PS Extension.r" {OBJECTS}
  43.     Link    -ra =resSysHeap,resPurgeable    ∂
  44.             -t 'pext'                        ∂
  45.             -c {kCreator}                    ∂
  46.             -rt pext=0                        ∂
  47.             -sg SEGS                        ∂
  48.             -m EntryPoint                    ∂
  49.             {OBJECTS}                        ∂
  50.             "{Libraries}Runtime.o"            ∂
  51.             -o "PS Extension";
  52.     SetFile "PS Extension" -a iB;
  53.     Rez -i "{INTPATH}" -rd -o "PS Extension" "PS Extension.r" -append 
  54.